function [ output_args ] = readGroundTruth( )
%UNTITLED Summary of this function goes here
%   Detailed explanation goes here

fileName    =   '../weizmann_horse_db/point_groundtruth/';

load('../weizmann_horse_db/GT_point', 'GT_point')  ;
if ~exist('GT_point', 'var')
    for i =1:328
        str = sprintf('%s%03d.txt', fileName, i);
        label_pt = textread(str);
        GT_point(:,:,i)    =   label_pt(2:end,:);
    end
    save('../weizmann_horse_db/GT_point', 'GT_point');
end

picName     =     '../weizmann_horse_db/gray/';
for i=1:328
    str = sprintf('%shorse%03d.jpg', picName, i);
    img    =    imread(str);
    imshow(img); hold on;
    plot(GT_point(:,1,i), GT_point(:,2,i), '*', 'color', 'r', 'LineWidth', 5);
    hold off;
end
end

